package com.vincent.template.domain;

import com.vincent.template.commons.base.BaseIncrEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

/**
 * @author Vincent Wang
 * @date 2020/12/29 15:26
 */
@Entity
@Table(name = "sys_auth_group",
        uniqueConstraints = {@UniqueConstraint(name = "code_unique", columnNames = {"code"})})
public class SysAuthGroupPo extends BaseIncrEntity {

    /**
     * 权限组Code
     */
    @Column(nullable = false, length = 64)
    private String code;

    /**
     * 权限组描述
     */
    @Column(length = 128)
    private String remark;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
